package com.demo.flight.mapper;

import com.demo.flight.entity.Seat;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ssy
 * @create 2022-03-24 16:47
 */

@Mapper
public interface SeatMapper {
    List<Seat> selectAll(Integer flightId);
    List<Seat> selectAllAvailable(Integer flightId);
    String checkSeatState(Integer seatId);
}
